package org.example;


import java.util.Date;

public class Mmaidian {
    private Double price;
    private Boolean h;
    private Date stock_date;
    private Integer m_index;

    public Mmaidian(Double price, Boolean h, Date stock_date, Integer m_index) {
        this.price = price;
        this.h = h;
        this.stock_date = stock_date;
        this.m_index = m_index;
    }

    public Mmaidian() {}

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Boolean getH() {
        return h;
    }

    public void setH(Boolean h) {
        this.h = h;
    }

    public Date getStock_date() {
        return stock_date;
    }

    public void setStock_date(Date stock_date) {
        this.stock_date = stock_date;
    }

    public Integer getM_index() {
        return m_index;
    }

    public void setM_index(Integer m_index) {
        this.m_index = m_index;
    }

    @Override
    public String toString() {
        return "Mmaidian{" +
                "price=" + price +
                ", h=" + h +
                ", stock_date=" + stock_date +
                ", m_index=" + m_index +
                '}';
    }
}

